package prop

// NacosConfig nacos配置
type NacosConfig struct {
	// Client 客户端
	Client struct {
		NamespaceId         string `mapstructure:"namespace-id"`
		Username            string `mapstructure:"username"`
		Password            string `mapstructure:"password"`
		TimeoutMs           uint64 `mapstructure:"timeout-ms"`
		NotLoadCacheAtStart bool   `mapstructure:"not-load-cache-at-start"`
	} `mapstructure:"client-config"`
	// Server 服务端配置
	Server struct {
		IpAddr      string `mapstructure:"ip-address"`
		Port        uint64 `mapstructure:"port"`
		Scheme      string `mapstructure:"scheme"`
		ContextPath string `mapstructure:"contextPath"`
	} `mapstructure:"server-config"`
}
